<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    the{
        background-color: red;
        color: white;
    }
</style>
<!--<body>-->
  <h1>成功页</h1>
<div th:text="${temo.name}"></div>
  <div th:text="${temo}"></div>

<h1>集合测试</h1>
<table border="1">
    <tr th:each="item:${list}">
        <td th:text="${item.id}">ID  </td>
        <td th:text="${item.name}">名字  </td>
    </tr>
</table>

<h1>分页测试</h1>
<div class="box">
    <a href="#" th:class="${p==theNum?'the':''}" th:each="p:${pageNum}" th:text="p"></a>
</div>
</body>
</html>